package com.by.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;


/**
 * @author: Fsw
 * @com.by.entity
 * @date 2025-09-10 15:09
 */
@TableName("t_order")
@Data
public class Order {
    @TableId(type = IdType.AUTO)
//    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    private String orderNo;
    private Long userId;
    private int amount;
}
